package com.wp.mapper;

import com.wp.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    public List<User> findAll();

    public User login(@Param("usrName") String usrName, @Param("usrPassword")String usrPassword);


    public int deleteUser(Integer usrId);


    public int insert(User user);

//    @Update("")
//    public User updateUser(User user);

}
